package com.lark.view;

import javafx.scene.Parent;

/**
 * 启动动画抽象类
 */
public abstract class SplashScreen {

    protected final boolean visible;

    public SplashScreen(boolean visible) {
        this.visible = visible;
    }

    public abstract Parent getParent();

    public boolean visible() {
        return false;
    }

    public abstract void stop();

    public abstract void setAnimation();
}
